package org.brownflat.lighthouse.monitor;


import org.springframework.stereotype.Service;

import java.util.List;

public interface MonitoringService extends Runnable {
	void addTask(LighthouseTask task);
	boolean stop(String name);
	boolean start(String name);
	boolean stop();
	boolean start();
    boolean clearAll();
    List<LighthouseTask> activeTasks();
    List<LighthouseTask> allTasks();
}
